﻿using Infrastructure.Centers;

namespace Services.IServices.IMinioFileService
{
    public interface IMinioFileService
    {
        Task<bool> UploadAsync(FileInfos fileInfo);
        Task<(bool Success, FileInfos FileInfo)> DownloadAsync(string fileGuid);


        Task<bool> RemoveAsync(string fileGuid);
        Task<bool> IsExistsAsync(string fileGuid);
        Task<(bool Success, FileInfos FileInfo)> GetInfoAsync(string fileGuid);
        Task<(bool Success, FileInfos[] FileInfos)> GetInfosAsync(string[] fileGuids);
    }
}
